package com.work.Bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class BeanService {
 
	@Autowired
	@Qualifier("beanB")
	private Bean bean;
	
	public void deals() {
		bean.deal();
	}
}
